﻿@{
	String ns = "Home.Index";
	ViewBag.Title = Html.LocalizedString("Title", ns);
}
<h2>@ViewBag.Message</h2>
<p>
	To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">
		http://asp.net/mvc</a>.
</p>
<p>
	Async status:
	@if (!String.IsNullOrEmpty((String)HttpContext.Current.Cache["AsyncMessage"])) {
		@HttpContext.Current.Cache["AsyncMessage"].ToString()
 }
 else {
		<text>Nothing yet!</text>
 }
</p>
<p>
	@Html.LocalizedString("Deadline", "TestData", new { Timestamp = DateTime.UtcNow })
</p>
<p>
	@DateTime.UtcNow.ToShortDateString()
</p>
<p>
	@Html.LocalizedString("FullDate", "TestData", new { Timestamp = DateTime.UtcNow })
</p>
<p>
	Culture: @UICulture
</p>
<p>
	Timezone: @(Context.Items["TZI"] ?? TimeZoneInfo.Local.DisplayName)
</p>
@Html.LocalizedString("ShortText", ns).ToParagraphs()
